<template>
  <div class="page-cart">
    <cart-table :cart-data='cartData'></cart-table>
  </div>
</template>
 
<script lang='ts'>
// 购物车 自定义表格
import { Component, Vue } from 'vue-property-decorator'
import CartTable from '@/components/cart/list.vue'
@Component({
  components: {
    CartTable
  }
})
export default class extends Vue {
 cartData: any[] = [{
          price: '121',
          name: '王小虎',
          num: 0
        }]
}
</script>
<style lang='scss'>
@import '@/assets/css/cart/index.scss';
</style>